<template>
  <ConfigProvider :locale="zhCN">
    <router-view />
  </ConfigProvider>
</template>

<script setup>
  import { ConfigProvider } from 'ant-design-vue';
  import dayjs from 'dayjs';
  import 'dayjs/locale/zh-cn';
  import zhCN from 'ant-design-vue/es/locale/zh_CN';

  dayjs.locale('zh-cn');
</script>
